package common

import (
	"k8s.io/api/admission/v1beta1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

type ARFields struct {
	Kind      v1.GroupVersionKind
	Namespace string
	UserInfo  ARUserInfo
	Operation v1beta1.Operation
	OldObject map[string]interface{}
	Object    map[string]interface{}
}

type ARUserInfo struct {
	Username string
}
